package com.budwk.app.sqfw.vo;

import com.budwk.app.sqfw.models.Sqfw_Sms_Msg;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ZY.Wang
 * @since 2023/7/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GenerateWordAndPdfUrlVO implements Serializable {

    @ApiModelProperty(description = "word url")
    private String wordUrl;

    @ApiModelProperty(description = "fileName")
    private String fileName;

    @ApiModelProperty(description = "pdf url")
    private String pdfUrl;

    @ApiModelProperty(description = "是否满足生成pdf条件标识")
    private Boolean createConditionFlag;

    @ApiModelProperty(description = "不满足生成条件原因")
    private String notCreateMark;

    @ApiModelProperty(description = "花费时常")
    private Long takeTime;

    @ApiModelProperty(description = "电话号码")
    private String phone;

    @ApiModelProperty(description = "短信信息")
    private Sqfw_Sms_Msg smsMsg;

    @ApiModelProperty(description = "下载url")
    private String url;

    public GenerateWordAndPdfUrlVO(boolean createFlag, String msg) {
        this.setCreateConditionFlag(createFlag);
        this.setNotCreateMark(msg);
    }
}
